package com.lframework.xingyun.promo.service.fullgiftactivity;

import com.lframework.starter.web.core.service.BaseMpService;
import com.lframework.starter.web.core.components.resp.PageResult;
import com.lframework.xingyun.promo.entity.MarketingFullgiftactivity;
import com.lframework.xingyun.promo.vo.fullgiftactivity.CreateMarketingFullgiftactivityVo;
import com.lframework.xingyun.promo.vo.fullgiftactivity.QueryMarketingFullgiftactivityVo;
import com.lframework.xingyun.promo.vo.fullgiftactivity.UpdateMarketingFullgiftactivityVo;

import java.util.List;

/**
 * 限时满赠活动表 Service
 */
public interface MarketingFullgiftactivityService extends BaseMpService<MarketingFullgiftactivity> {

    /**
     * 查询列表
     * @return
     */
    PageResult<MarketingFullgiftactivity> queryPage(Integer pageIndex, Integer pageSize, QueryMarketingFullgiftactivityVo vo);

    /**
     * 查询列表
     * @param vo
     * @return
     */
    List<MarketingFullgiftactivity> queryList(QueryMarketingFullgiftactivityVo vo);

    /**
     * 根据ID查询
     * @param id
     * @return
     */
    MarketingFullgiftactivity findById(String id);

    /**
     * 创建
     * @param vo
     * @return
     */
    String create(CreateMarketingFullgiftactivityVo vo);

    /**
     * 修改
     * @param vo
     */
    void update(UpdateMarketingFullgiftactivityVo vo);

}

